<template>
  <div id="app">
    <el-dialog :visible.sync="openJudgeDialog" title="用户评价列表">
     <div v-if="judgeList"> {{judgeList}}</div>
     <div v-else>暂无数据</div>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "userJudge",
  data() {
    return {
      openJudgeDialog: false,
      judgeList: [],
    }
  },
  methods: {
    handleOpen(val) {
      this.openJudgeDialog = true
      this.$api.appraiseGetApprasiseByTaskId({taskId:val}).then(res => {
        // console.log(res)
        this.judgeList=res
      })
    }
  }
}
</script>

<style scoped>

</style>